Skip to content

Conversation

@metascroy
Copy link
Contributor

Summary:
The ExecuTorch CoreML backend uses various folder locations to store compiled assets, to trash old assets, and to store a databse.

With this diff, all of these are configurable with the following compile-time flags:

  • EXECUTORCH_COREML_ASSETS_DIRECTORY_PATH (default value is [cache]/executorchcoreml)
  • EXECUTORCH_COREML_TRASH_DIRECTORY_PATH (default value is [tmp]/executorchcoreml)
  • EXECUTORCH_COREML_DATABASE_DIRECTORY_PATH (default value is [app support]/executorchcoreml)

Differential Revision: D85064722

Summary:
The ExecuTorch CoreML backend uses various folder locations to store compiled assets, to trash old assets, and to store a databse.


With this diff, all of these are configurable with the following compile-time flags:

* EXECUTORCH_COREML_ASSETS_DIRECTORY_PATH (default value is [cache]/executorchcoreml)
* EXECUTORCH_COREML_TRASH_DIRECTORY_PATH (default value is [tmp]/executorchcoreml)
* EXECUTORCH_COREML_DATABASE_DIRECTORY_PATH (default value is [app support]/executorchcoreml)

Differential Revision: D85064722
@pytorch-bot
Copy link

pytorch-bot bot commented Nov 25, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15984

Note: Links to docs will display an error until the docs builds have been completed.

❗ 2 Active SEVs

There are 2 currently active SEVs. If your PR is affected, please view them below:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 25, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 25, 2025

@metascroy has exported this pull request. If you are a Meta employee, you can view the originating Diff in D85064722.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant